package com.david.equipment.mapper;

import com.david.equipment.pojo.entity.DeviceEntity;
import com.david.equipment.pojo.vo.DeviceVO;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface DeviceMapper {
    void insertDevice(DeviceEntity device);

    List<DeviceEntity> selectList(DeviceVO deviceVO);

    @Select("select name from equip_device where id = #{deviceId}")
    String selectDeviceById(Integer deviceId);
}
